package cn.huang.service;

import cn.huang.entity.PageResult;
import cn.huang.entity.QueryPageBean;
import cn.huang.entity.Result;

import java.util.Map;

public interface OrderService {

    Result order(Map map) throws Exception;

    Map findById(Integer id) throws Exception;

    //预约列表分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);

    //新增预约
    Result add(Map map,Integer[]setmealIds) throws Exception;

    //取消预约
    void cancelOrder(Map map,Integer id)throws Exception;

    void confirmOrder(Map map);
}
